﻿package  core.net.socket.cmd {
	
	import core.net.socket.SocketCmd;
	import com.adobe.serialization.json.JSON;
	
	public class BluetoothOnlineCmd implements SocketCmd {

		public static var COMMAND_ID:String = "CMD_BLUETOOTH_ONLINE";
		public var address:String;
	
		public function BluetoothOnlineCmd() {
			
		}
		
		
		public static function make():SocketCmd{
			var cmd:BluetoothOnlineCmd = new BluetoothOnlineCmd();
			return cmd;
		}
		
		public function commandString():String{
			var obj = {
				cmd:COMMAND_ID
			};
			var str:String = com.adobe.serialization.json.JSON.encode(obj);
			return str;
		}

	}
	
}
